<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libBigWig: URL_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libBigWig
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">URL_t Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This structure holds the file pointers and buffers needed for raw access to local and remote files.  
 <a href="structURL__t.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="bigWigIO_8h_source.html">bigWigIO.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ad6d70a2a93d3ad17331f3042eead1ce2"><td class="memItemLeft" >union {</td></tr>
<tr class="memitem:af3b6a4162665bd26610ea7ed31c8a36b"><td class="memItemLeft" >&#160;&#160;&#160;CURL *&#160;&#160;&#160;<a class="el" href="structURL__t.html#a01844303c9bf15b823504dbdf8eecdc5">curl</a></td></tr>
<tr class="separator:af3b6a4162665bd26610ea7ed31c8a36b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a011aafc28392f0bf62c67bffad058356"><td class="memItemLeft" >&#160;&#160;&#160;FILE *&#160;&#160;&#160;<a class="el" href="structURL__t.html#ad580083f95d86b68829b520d0b453b08">fp</a></td></tr>
<tr class="separator:a011aafc28392f0bf62c67bffad058356"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6d70a2a93d3ad17331f3042eead1ce2"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURL__t.html#ad6d70a2a93d3ad17331f3042eead1ce2">x</a></td></tr>
<tr class="separator:ad6d70a2a93d3ad17331f3042eead1ce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1d920711f91f388ce7115341b3907cf"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURL__t.html#ad1d920711f91f388ce7115341b3907cf">memBuf</a></td></tr>
<tr class="separator:ad1d920711f91f388ce7115341b3907cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98edd5e13308f6fa6f4880c87430bca2"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURL__t.html#a98edd5e13308f6fa6f4880c87430bca2">filePos</a></td></tr>
<tr class="separator:a98edd5e13308f6fa6f4880c87430bca2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad560759e3af5e982fd369a27ba5b1dbc"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURL__t.html#ad560759e3af5e982fd369a27ba5b1dbc">bufPos</a></td></tr>
<tr class="separator:ad560759e3af5e982fd369a27ba5b1dbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f68a10b5d2284fd756562ea7bd02abc"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURL__t.html#a4f68a10b5d2284fd756562ea7bd02abc">bufSize</a></td></tr>
<tr class="separator:a4f68a10b5d2284fd756562ea7bd02abc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d3601123cd3d99cc184461007572b9f"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURL__t.html#a2d3601123cd3d99cc184461007572b9f">bufLen</a></td></tr>
<tr class="separator:a2d3601123cd3d99cc184461007572b9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a431adb9c33b3d8d43575799f6fdcd497"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="bigWigIO_8h.html#a53551ff2ef7a2c1b938e94ef9592ab66">bigWigFile_type_enum</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURL__t.html#a431adb9c33b3d8d43575799f6fdcd497">type</a></td></tr>
<tr class="separator:a431adb9c33b3d8d43575799f6fdcd497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1fe842d66e490e6851ec2fe4e5276e6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURL__t.html#ab1fe842d66e490e6851ec2fe4e5276e6">isCompressed</a></td></tr>
<tr class="separator:ab1fe842d66e490e6851ec2fe4e5276e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45fcd4a597a7dba67938d5aab253aebb"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURL__t.html#a45fcd4a597a7dba67938d5aab253aebb">fname</a></td></tr>
<tr class="separator:a45fcd4a597a7dba67938d5aab253aebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This structure holds the file pointers and buffers needed for raw access to local and remote files. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a2d3601123cd3d99cc184461007572b9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d3601123cd3d99cc184461007572b9f">&#9670;&nbsp;</a></span>bufLen</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t URL_t::bufLen</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The actual size of the buffer used. </p>

</div>
</div>
<a id="ad560759e3af5e982fd369a27ba5b1dbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad560759e3af5e982fd369a27ba5b1dbc">&#9670;&nbsp;</a></span>bufPos</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t URL_t::bufPos</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Curent position inside the buffer. </p>

</div>
</div>
<a id="a4f68a10b5d2284fd756562ea7bd02abc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f68a10b5d2284fd756562ea7bd02abc">&#9670;&nbsp;</a></span>bufSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t URL_t::bufSize</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The size of the buffer. </p>

</div>
</div>
<a id="a01844303c9bf15b823504dbdf8eecdc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01844303c9bf15b823504dbdf8eecdc5">&#9670;&nbsp;</a></span>curl</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CURL* URL_t::curl</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The CURL * file pointer for remote files. </p>

</div>
</div>
<a id="a98edd5e13308f6fa6f4880c87430bca2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98edd5e13308f6fa6f4880c87430bca2">&#9670;&nbsp;</a></span>filePos</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t URL_t::filePos</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Current position inside the file. </p>

</div>
</div>
<a id="a45fcd4a597a7dba67938d5aab253aebb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45fcd4a597a7dba67938d5aab253aebb">&#9670;&nbsp;</a></span>fname</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* URL_t::fname</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Only needed for remote connections. The original URL/filename requested, since we need to make multiple connections. </p>

</div>
</div>
<a id="ad580083f95d86b68829b520d0b453b08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad580083f95d86b68829b520d0b453b08">&#9670;&nbsp;</a></span>fp</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FILE* URL_t::fp</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The FILE * file pointer for local files. </p>

</div>
</div>
<a id="ab1fe842d66e490e6851ec2fe4e5276e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1fe842d66e490e6851ec2fe4e5276e6">&#9670;&nbsp;</a></span>isCompressed</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int URL_t::isCompressed</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>1 if the file is compressed, otherwise 0 </p>

</div>
</div>
<a id="ad1d920711f91f388ce7115341b3907cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1d920711f91f388ce7115341b3907cf">&#9670;&nbsp;</a></span>memBuf</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* URL_t::memBuf</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>A void * pointing to memory of size bufSize. </p>

</div>
</div>
<a id="a431adb9c33b3d8d43575799f6fdcd497"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a431adb9c33b3d8d43575799f6fdcd497">&#9670;&nbsp;</a></span>type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="bigWigIO_8h.html#a53551ff2ef7a2c1b938e94ef9592ab66">bigWigFile_type_enum</a> URL_t::type</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The connection type </p>

</div>
</div>
<a id="ad6d70a2a93d3ad17331f3042eead1ce2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6d70a2a93d3ad17331f3042eead1ce2">&#9670;&nbsp;</a></span>x</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">union { ... }  URL_t::x</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>A union holding curl and fp. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="bigWigIO_8h_source.html">bigWigIO.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 8 2020 13:48:36 for libBigWig by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
